package model;

import java.sql.Timestamp;
import java.sql.Date;

public class ForumUser {
	private int userId;
	private String userName;
	private String password;
	private char sex;
	private Date birthday;
	private String email;
	private String headPicturePath;
	private String signWords;
	private Timestamp lastLoginTime;
	private int badWordsTime;
	private int levelPoint;
	private char disableLogin;
	private String ip;
	private char online;
	private Timestamp disableLoginTime;
	private Date registerDay;
	
	public ForumUser(int userId, String userName, String password, char sex,
			Date birthday, String email, String headPicturePath,
			String signWords, Timestamp lastLoginTime, int badWordsTime,
			int levelPoint, char disableLogin, String ip, char online, 
			Timestamp disableLoginTime, Date registerDay) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.sex = sex;
		this.birthday = birthday;
		this.email = email;
		this.headPicturePath = headPicturePath;
		this.signWords = signWords;
		this.lastLoginTime = lastLoginTime;
		this.badWordsTime = badWordsTime;
		this.levelPoint = levelPoint;
		this.disableLogin = disableLogin;
		this.ip = ip;
		this.online = online;
		this.disableLoginTime = disableLoginTime;
		this.registerDay = registerDay;
	}

	public ForumUser(){}
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public char getSex() {
		return sex;
	}
	public void setSex(char sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getHeadPicturePath() {
		return headPicturePath;
	}
	public void setHeadPicturePath(String headPicturePath) {
		this.headPicturePath = headPicturePath;
	}
	public String getSignWords() {
		return signWords;
	}
	public void setSignWords(String signWords) {
		this.signWords = signWords;
	}
	public Timestamp getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public int getBadWordsTime() {
		return badWordsTime;
	}
	public void setBadWordsTime(int badWordsTime) {
		this.badWordsTime = badWordsTime;
	}
	public int getLevelPoint() {
		return levelPoint;
	}
	public void setLevelPoint(int levelPoint) {
		this.levelPoint = levelPoint;
	}
	public char getDisableLogin() {
		return disableLogin;
	}
	public void setDisableLogin(char disableLogin) {
		this.disableLogin = disableLogin;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public char getOnline() {
		return online;
	}
	public void setOnline(char online) {
		this.online = online;
	}

	public Timestamp getDisableLoginTime() {
		return disableLoginTime;
	}

	public void setDisableLoginTime(Timestamp disableLoginTime) {
		this.disableLoginTime = disableLoginTime;
	}

	public Date getRegisterDay() {
		return registerDay;
	}

	public void setRegisterDay(Date registerDay) {
		this.registerDay = registerDay;
	}

	@Override
	public String toString() {
		return "ForumUser [userId=" + userId + ", userName=" + userName
				+ ", password=" + password + ", sex=" + sex + ", birthday="
				+ birthday + ", email=" + email + ", headPicturePath="
				+ headPicturePath + ", signWords=" + signWords
				+ ", lastLoginTime=" + lastLoginTime + ", badWordsTime="
				+ badWordsTime + ", levelPoint=" + levelPoint
				+ ", disableLogin=" + disableLogin + ", ip=" + ip + ", online="
				+ online + ", disableLoginTime=" + disableLoginTime
				+ ", registerDay=" + registerDay + "]";
	}
}
